/*
 * bytetools.h
 *
 *  Created on: Aug 29, 2016
 *      Author: root
 */

#ifndef BYTETOOLS_H_
#define BYTETOOLS_H_

int read_int(char*);
int read_short(char*);
int read_byte(char*);
float read_float(char*);
double read_double(char*);
long read_long(char*);
void write_int(int, char*);
void write_short(short, char*);
void write_byte(char, char*);
void write_float(float, char*);
void write_double(double, char*);
void write_long(long, char*);
#endif /* BYTETOOLS_H_ */
